package com.ttai.dagger.module.activity;

import com.ttai.presenter.activity.ResetKeyPresenter;
import com.ttai.ui.activity.ResetKey;

import dagger.Module;
import dagger.Provides;

@Module
public class ResetKeyPresenterModule {
    ResetKey resetKey;

    public ResetKeyPresenterModule(ResetKey resetKey) {
        this.resetKey = resetKey;
    }
    @Provides
    ResetKeyPresenter provideResetKeyPresenter(){
        return new ResetKeyPresenter(resetKey);
    }
}
